import "./assets/global.css";

import { createApp } from "vue";
import { createPinia } from "pinia";
import ElementPlus from "element-plus";
import "element-plus/dist/index.css";
import App from "./App.vue";
import router from "./router";
import { BASE_URL } from "@/config";

// 设置全局属性

const app = createApp(App);
// app.config.globalProperties.$baseURL = "http://10.63.161.12:8000/";
// app.config.globalProperties.$baseURL = "http://127.0.0.1:8000/";

// app.config.globalProperties.$baseURL = "https://ipss-bit.com/";
app.config.globalProperties.$baseURL = BASE_URL;

app.use(createPinia());
app.use(router);

app.use(ElementPlus);
app.mount("#app");
